
import com.beust.jcommander.Parameter;

public class ArgumentsEnv {

	@Parameter(names = { "-d", "--decrypt" }, description = "Decrypt the encrypted text to clear text")
	private String encryptedCipherText;
	
	public String getEncryptedCipherText() {
		return encryptedCipherText;
	}
	
	@Parameter(names = { "-e", "--encrypt" }, description = "Encrypt clear text")
	private String clearText;
	
	public String getClearText() {
		return clearText;
	}
	
	@Parameter(names = { "-p", "--password" }, description = "Password for encrypt or decrypt")
	private String _password = "longhoanggiang";
	
	public String getPwd() {
		return _password;
	}
	
	public boolean isEncrypt() {
		return clearText !=  null;
	}
	
	public boolean isDecrypt() {
		return encryptedCipherText != null;
	}
}
